﻿using System;
using System.Text;

namespace Common
{
    public static class Encoder
    {
        public static String GetString(this Byte[] characters)
        {
            return Encoding.UTF8.GetString(characters);
        }

        public static Byte[] GetBytes(this String text)
        {
            return Encoding.UTF8.GetBytes(text);
        }
    }
}
